package com.jiai.cloud.community.entity;


import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 佳爱网络科技
 * @since 2017-06-07
 */
@TableName("t_classify")
public class TClassify extends Model<TClassify> {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
	@TableId(value="classifyId", type= IdType.AUTO)
	private Integer classifyId;
    /**
     * 分类名称
     */
	private String classifyName;
    /**
     * 模版信息表
     */
	private Integer templateId;


	public Integer getClassifyId() {
		return classifyId;
	}

	public void setClassifyId(Integer classifyId) {
		this.classifyId = classifyId;
	}

	public String getClassifyName() {
		return classifyName;
	}

	public void setClassifyName(String classifyName) {
		this.classifyName = classifyName;
	}

	public Integer getTemplateId() {
		return templateId;
	}

	public void setTemplateId(Integer templateId) {
		this.templateId = templateId;
	}

	@Override
	protected Serializable pkVal() {
		return this.classifyId;
	}

}
